import Vue from 'vue'
import Router from 'vue-router'

import HelloWorld from '@/components/HelloWorld'
import map1 from '@/components/map1'
import map2 from '@/components/map2-three1'
import map3 from '@/components/map3-3D'
import map4 from '@/components/map4-mark'
import map5 from '@/components/map5-tools'
import map6 from '@/components/map6-map-animate'
import map7 from '@/components/map7-markercluster'
import map8 from '@/components/map8-style'
import map9 from '@/components/map9-image'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'HelloWorld',
      component: HelloWorld
    },
    {
      path: '/map1',
      name: 'map1',
      component: map1
    },
    {
      path: '/map2',
      name: 'map2',
      component: map2
    },
    {
      path: '/map3',
      name: 'map3',
      component: map3
    },
    {
      path: '/map4',
      name: 'map4',
      component: map4
    },
    {
      path: '/map5',
      name: 'map5',
      component: map5
    },
    {
      path: '/map6',
      name: 'map6',
      component: map6
    },
    {
      path: '/map7',
      name: 'map7',
      component: map7
    },
    {
      path: '/map8',
      name: 'map8',
      component: map8
    },
    {
      path: '/map9',
      name: 'map9',
      component: map9
    }
  ]
})
